[INFO] cloning repository https://github.com/andylin2004-graphics/09_lighting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andylin2004-graphics/09_lighting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandylin2004-graphics%2F09_lighting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandylin2004-graphics%2F09_lighting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de1c45828874bb9c7617b006f7407e704f21e6ae
[INFO] checking andylin2004-graphics/09_lighting against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandylin2004-graphics%2F09_lighting" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andylin2004-graphics/09_lighting
[INFO] finished tweaking git repo https://github.com/andylin2004-graphics/09_lighting
[INFO] tweaked toml for git repo https://github.com/andylin2004-graphics/09_lighting written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andylin2004-graphics/09_lighting on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andylin2004-graphics/09_lighting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.125
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 700eae118d2e3e91974932bd2ae97a56342bdcafc3af5376fa1cebb2006b0b6c
[INFO] running `Command { std: "docker" "start" "-a" "700eae118d2e3e91974932bd2ae97a56342bdcafc3af5376fa1cebb2006b0b6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "700eae118d2e3e91974932bd2ae97a56342bdcafc3af5376fa1cebb2006b0b6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "700eae118d2e3e91974932bd2ae97a56342bdcafc3af5376fa1cebb2006b0b6c", kill_on_drop: false }`
[INFO] [stdout] 700eae118d2e3e91974932bd2ae97a56342bdcafc3af5376fa1cebb2006b0b6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c7f634f88c5c9608462fae3e1803d600e552a2ea0bcaba88731f6d7d455d24d
[INFO] running `Command { std: "docker" "start" "-a" "4c7f634f88c5c9608462fae3e1803d600e552a2ea0bcaba88731f6d7d455d24d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hw-09 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::consts`
[INFO] [stdout]  --> src/gmath.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/draw.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::consts`
[INFO] [stdout]  --> src/gmath.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::consts;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/draw.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/draw.rs:150:56
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn draw_polygons(&mut self, polygons: &Matrix, c: &Color, view: &mut Vec<f32>, ambient_color: &Color, point_light_vector: &...
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/draw.rs:150:56
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn draw_polygons(&mut self, polygons: &Matrix, c: &Color, view: &mut Vec<f32>, ambient_color: &Color, point_light_vector: &...
[INFO] [stdout]     |                                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             &mut consts::AMBIENT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const AMBIENT_COLOR: Color = Color::new_color(50, 50, 50);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             &mut consts::POINT_LIGHT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const POINT_LIGHT_COLOR: Color = Color::new_color(0, 255, 255);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut consts::AMBIENT_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const AMBIENT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.1, 0.1, 0.1);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             &mut consts::SPECULAR_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SPECULAR_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             &mut consts::DIRECT_REFLECT
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const DIRECT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             &mut consts::AMBIENT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const AMBIENT_COLOR: Color = Color::new_color(50, 50, 50);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             &mut consts::POINT_LIGHT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const POINT_LIGHT_COLOR: Color = Color::new_color(0, 255, 255);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             &mut consts::AMBIENT_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const AMBIENT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.1, 0.1, 0.1);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             &mut consts::SPECULAR_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SPECULAR_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             &mut consts::DIRECT_REFLECT
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const DIRECT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_edge_int` is never used
[INFO] [stdout]    --> src/draw.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl Matrix {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn add_edge_int(&mut self, x0: i32, y0: i32, z0: i32, x1: i32, y1: i32, z1: i32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_matrix` is never used
[INFO] [stdout]   --> src/matrix.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Matrix{
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn print_matrix(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         parse_file(
[INFO] [stdout] 41 | |             "botsamirite",
[INFO] [stdout] 42 | |             &mut cstack,
[INFO] [stdout] 43 | |             &mut edges,
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             &mut consts::DIRECT_REFLECT
[INFO] [stdout] 54 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = parse_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | /         parse_file(
[INFO] [stdout] 57 | |             "script",
[INFO] [stdout] 58 | |             &mut cstack,
[INFO] [stdout] 59 | |             &mut edges,
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |             &mut consts::DIRECT_REFLECT
[INFO] [stdout] 70 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = parse_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             &mut consts::AMBIENT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const AMBIENT_COLOR: Color = Color::new_color(50, 50, 50);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             &mut consts::POINT_LIGHT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const POINT_LIGHT_COLOR: Color = Color::new_color(0, 255, 255);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut consts::AMBIENT_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const AMBIENT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.1, 0.1, 0.1);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             &mut consts::SPECULAR_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SPECULAR_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             &mut consts::DIRECT_REFLECT
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const DIRECT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             &mut consts::AMBIENT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const AMBIENT_COLOR: Color = Color::new_color(50, 50, 50);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             &mut consts::POINT_LIGHT_COLOR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const POINT_LIGHT_COLOR: Color = Color::new_color(0, 255, 255);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             &mut consts::AMBIENT_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const AMBIENT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.1, 0.1, 0.1);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             &mut consts::SPECULAR_REFLECT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SPECULAR_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: taking a mutable reference to a `const` item
[INFO] [stdout]   --> src/main.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             &mut consts::DIRECT_REFLECT
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary
[INFO] [stdout]    = note: the mutable reference will refer to this temporary, not the original `const` item
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const DIRECT_REFLECT: ReflectionValue = ReflectionValue::new_values(0.5, 0.5, 0.5);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_edge_int` is never used
[INFO] [stdout]    --> src/draw.rs:255:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl Matrix {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn add_edge_int(&mut self, x0: i32, y0: i32, z0: i32, x1: i32, y1: i32, z1: i32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_matrix` is never used
[INFO] [stdout]   --> src/matrix.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Matrix{
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn print_matrix(&self){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         parse_file(
[INFO] [stdout] 41 | |             "botsamirite",
[INFO] [stdout] 42 | |             &mut cstack,
[INFO] [stdout] 43 | |             &mut edges,
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             &mut consts::DIRECT_REFLECT
[INFO] [stdout] 54 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = parse_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | /         parse_file(
[INFO] [stdout] 57 | |             "script",
[INFO] [stdout] 58 | |             &mut cstack,
[INFO] [stdout] 59 | |             &mut edges,
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |             &mut consts::DIRECT_REFLECT
[INFO] [stdout] 70 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = parse_file(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.44s
[INFO] running `Command { std: "docker" "inspect" "4c7f634f88c5c9608462fae3e1803d600e552a2ea0bcaba88731f6d7d455d24d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7f634f88c5c9608462fae3e1803d600e552a2ea0bcaba88731f6d7d455d24d", kill_on_drop: false }`
[INFO] [stdout] 4c7f634f88c5c9608462fae3e1803d600e552a2ea0bcaba88731f6d7d455d24d
